import type { DeptDto, RoleDto } from '../system/types'

export interface UserInfoDto {
  msg: string
  isGsc: boolean
  code: number
  accountExpireInfo: AccountExpireInfoDto
  isOpenWesure: boolean
  permissions: string[]
  roles: string[]
  isOpenEleSign: boolean
  auditStatus: boolean
  user: UserDto
  isOpenPaySalary: boolean
  isForbidInsure: boolean
}

export interface UserDto {
  searchValue: null
  createBy: string
  createTime: string
  updateBy: null
  updateTime: null
  remark: null
  userId: number
  deptId: number
  userName: string
  nickName: string
  email: string
  phonenumber: string
  sex: string
  avatar: string
  salt: null
  saasUserId: number
  userType: string
  type: null
  deptLeader: null
  status: string
  delFlag: string
  loginIp: string
  loginDate: null
  dept: DeptDto
  roles: RoleDto[]
  roleIds: null
  postIds: null
  deptIds: null
  companyId: string
  companyName: null
  salesId: null
  salesName: null
  idCardNo: null
  postId: null
  entryTime: null
  auditStatus: null
  roleKey: string
  receiverSales: null
  isPcAdmin: null
  searchText: null
  ancestors: string
  deptName: null
  isSupPcAdmin: number
  isGrpLead: number
  crmAuditStatus: null
  isJoinRankingList: null
  isShowRankingList: null
  admin: boolean
}


export interface AccountExpireInfoDto {
}
